package com.ldzy.cart;

import com.ldzy.common.pojo.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "order")
public interface OrderApi {
    @PostMapping("/order/new")//新增订单
    public boolean newOrder(Order order);
}
